package org.chen.common.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Schema(name = "OrderTravelPayRequest对象", description="订单支付")
public class OrderTravelPayRequest {

    @Schema(description = "订单id")
    private String uni;

    @Schema(description = "订单编号")
    @NotNull(message = "订单编号不能为空")
    private String orderNo;

    @Schema(description = "支付类型：paypal支付")
    @NotNull(message = "支付类型不能为空")
    private String payType;

    @Schema(description = "支付渠道:H5支付，pc支付")
    @NotNull(message = "支付渠道不能为空")
    private String payChannel;
}
